On the Sprague-Grundyfunction of Exact k-Nim

نویسندگان

  • Endre Boros
  • Vladimir Gurvich
  • Nhan Bao Ho
  • Kazuhisa Makino
  • Peter Mursic
چکیده

Moore’s generalization of the game of Nim is played as follows. Given two integer parameters n, k such that 1 ≤ k ≤ n, and n piles of tokens. Two players take turns. By one move a player reduces at least one and at most k piles. The player who makes the last move wins. The P-positions of this game were characterized by Moore in 1910 and an explicit formula for its Sprague-Grundy function was given by Jenkyns and Mayberry in 1980, for the case n = k+1 only. We modify Moore’s game and introduce Exact k-Nim in which each move reduces exactly k piles. We give a simple polynomial algorithm computing the Sprague-Grundy function of Exact k-Nim in case 2k > n and an explicit formula for it in case 2k = n. The last case shows a surprising similarity to Jenkyns and Mayberry’s solution even though the meaning of some of the expressions are quite different.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Slow k-Nim

Given n piles of tokens and a positive integer k ≤ n, we study the following two impartial combinatorial games Nimn,≤k and Nim 1 n,=k. In the first (resp. second) game, a player, by one move, chooses at least 1 and at most (resp. exactly) k non-empty piles and removes one token from each of these piles. For the normal and misère version of each game we compute the Sprague-Grundy function for th...

متن کامل

Extended Complementary Nim

In the standard Nim with n heaps, a player by one move can reduce (by a positive amount) exactly one heap of his choice. In this paper we consider the game of complementary Nim (Co-Nim), in which a player by one move can reduce at least one and at most n − 1 heaps, of his choice. An explicit formula for the Sprague-Grundy (SG) function of Co-Nim was obtained by Jenkyns and Mayberry in 1980. We ...

متن کامل

Some Remarks on End-Nim

We reexamine Albert and Nowakowski’s variation on the game of Nim, called End-Nim, in which the players may only remove coins from the leftmost or rightmost piles. We reformulate Albert and Nowakowski’s solution to this game. We examine its misère version and a further variant where the winner is the player who reduces the game to a single pile; we call this Loop-End-Nim. We show that the three...

متن کامل

The Period of the subtraction games

Subtraction games is a class of impartial combinatorial games, They with finite subtraction sets are known to have periodic nim-sequences. So people try to find the regular of the games. But for specific of Sprague-Grundy Theory, it is too difficult to find, they obtained some conclusions just by simple observing. This paper used PTFN algorithm to analyze the period of the Subtraction games. It...

متن کامل

Miserable and strongly miserable impartial games

An impartial game is called (strongly) miserable if its normal and misère versions differ just slightly; more precisely, if some (all) zeros and ones of the Sprague-Grundy (SG) functions swap, while all larger values remain the same. We obtain necessary and sufficient conditions for (strong) miserability and show that NIM, Wythoff’s NIM, and game Euclid are miserable but not strongly miserable,...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Discrete Applied Mathematics

دوره 239  شماره 

صفحات  -

تاریخ انتشار 2018